<!doctype HTML public "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- Click to Convert 5.2: Anything to HTML -->
<!-- http://www.clicktoconvert.com -->

<html>
<head>
<title>gravityboxscheduleuserguide - page 114 of 234</title>
<meta http-equiv=content-type content=text/html;charset=iso-8859-1>
<meta name="Generator" content="Click to Convert">

<!--Start of page styles-->
<STYLE TYPE="text/css">
<!--
 /* Foreground Image Styles */

 /* Position Styles */
 .ts114p0{position:absolute;left:106px;top:97px;}
 .ts114p1{position:absolute;left:352px;top:97px;}
 .ts114p3{position:absolute;left:665px;top:97px;}
 .ts114p7{position:absolute;left:106px;top:113px;}
 .ts114p8{position:absolute;left:706px;top:1026px;}
 .ts114p9{position:absolute;left:331px;top:1044px;}
 .ts114p13{position:absolute;left:106px;top:146px;}
 .ts114p14{position:absolute;left:106px;top:164px;}
 .ts114p15{position:absolute;left:106px;top:183px;}
 .ts114p17{position:absolute;left:106px;top:201px;}
 .ts114p18{position:absolute;left:106px;top:220px;}
 .ts114p20{position:absolute;left:106px;top:238px;}
 .ts114p21{position:absolute;left:106px;top:256px;}
 .ts114p25{position:absolute;left:106px;top:275px;}
 .ts114p26{position:absolute;left:106px;top:293px;}
 .ts114p27{position:absolute;left:106px;top:312px;}
 .ts114p29{position:absolute;left:106px;top:330px;}
 .ts114p32{position:absolute;left:106px;top:348px;}
 .ts114p34{position:absolute;left:106px;top:367px;}
 .ts114p35{position:absolute;left:106px;top:385px;}
 .ts114p36{position:absolute;left:106px;top:404px;}
 .ts114p39{position:absolute;left:106px;top:422px;}
 .ts114p40{position:absolute;left:106px;top:441px;}
 .ts114p42{position:absolute;left:106px;top:460px;}
 .ts114p44{position:absolute;left:106px;top:478px;}
 .ts114p46{position:absolute;left:106px;top:496px;}
 .ts114p47{position:absolute;left:106px;top:514px;}
 .ts114p49{position:absolute;left:106px;top:532px;}
 .ts114p51{position:absolute;left:106px;top:550px;}
 .ts114p53{position:absolute;left:106px;top:568px;}
 .ts114p55{position:absolute;left:106px;top:586px;}
 .ts114p57{position:absolute;left:106px;top:605px;}
 .ts114p59{position:absolute;left:106px;top:623px;}
 .ts114p61{position:absolute;left:106px;top:641px;}
 .ts114p62{position:absolute;left:106px;top:659px;}
 .ts114p64{position:absolute;left:106px;top:677px;}
 .ts114p66{position:absolute;left:106px;top:695px;}
 .ts114p68{position:absolute;left:106px;top:713px;}
 .ts114p71{position:absolute;left:106px;top:731px;}
 .ts114p73{position:absolute;left:106px;top:750px;}
 .ts114p75{position:absolute;left:106px;top:768px;}
 .ts114p77{position:absolute;left:106px;top:786px;}
 .ts114p78{position:absolute;left:106px;top:804px;}
 .ts114p79{position:absolute;left:106px;top:823px;}
 .ts114p81{position:absolute;left:106px;top:841px;}
 .ts114p82{position:absolute;left:106px;top:861px;}
 .ts114p84{position:absolute;left:106px;top:879px;}
 .ts114p87{position:absolute;left:106px;top:897px;}
 .ts114p89{position:absolute;left:106px;top:915px;}
 .ts114p90{position:absolute;left:106px;top:933px;}
 .ts114p92{position:absolute;left:106px;top:951px;}
 .ts114p94{position:absolute;left:106px;top:969px;}
 .ts114p96{position:absolute;left:106px;top:988px;}

 /* Font Styles */
 .ft0p114{font-style:normal;font-weight:bold;font-size:13px;font-family:arial,sans-serif;color:#000000;}
 .ft1p114{font-weight:normal;}
 .ft2p114{font-style:normal;font-weight:normal;font-size:13px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft3p114{font-style:normal;font-weight:normal;font-size:16px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft4p114{font-style:normal;font-weight:bold;font-size:11px;font-family:arial,sans-serif;color:#000000;}
 .ft5p114{font-style:normal;font-weight:normal;font-size:16px;font-family:arial,sans-serif;color:#000000;}
 .ft6p114{font-style:normal;font-weight:normal;font-size:16px;font-family:"courier new",courier,monospace;color:#000000;}

 /* Background Style */
 .styleBackground114{position:absolute;left:97px;top:439px}

 /* Navigation Styles */
 .styleNavBarTop{position:absolute;left:0px;top:2px}
 .nb{position:absolute;left:2px;top:0px}
 .nbs{position:absolute;left:0px;top:0px}
 .nbe{position:absolute;left:836px;top:0px}
 .styleNavBarBot{position:absolute;left:0px;top:1117px}
-->
</STYLE>
<!--End of page styles-->

</head>
<body bgcolor="#ffffff" text="#000000" link="#0000FF" Vlink="#660099">

<table id="pageTable" width="836" STYLE="position: relative; left: auto; top: auto;"><tr><td>
<div class=nbs><img src="./navbarstart.gif" width="2" height="30"></div>
<div class=nb><img src="./navbar.gif" width="836" height="30" alt="Navigation bar"></div>
<div class=nbe><img src="./navbarend.gif" width="2" height="30"></div>
<div class=styleNavBarTop>
<table width="834" height="26" border="0" cellspacing="0">
  <tr align="left">
    <td width="4">&nbsp;</td>
    <td width="25" align="center"><a href="http://www.gravitybox.com" target="_parent"><img src="./home.gif" border="0" alt="Home"></a></td>
    <td width="25" align="center"><a href="#" onClick="window.open('./print.html','Printing','width=300,height=100,toolbar=no,directories=no');return false;"><img src="./print.gif" border="0" alt="Print document"></a></td>
    <td width="10" align="center"><img src="./separator.gif" border="0"></td>
    <td width="18" align="center"><a href="./index1.html"><img src="./start.gif" width="18" height="14" border="0" alt="Start"></a></td>
    <td width="18" align="center"><a href="./index113.html"><img src="./back.gif" width="14" height="14" border="0" alt="Previous page"></a></td>
    <td width="80" valign="middle"><table width="100%" height="16" border="0" cellspacing="1" bgcolor="#ACA899"><tr><td align="center" bgcolor="#ffffff"><font face=verdana,arial,sans-serif><font size="1">&nbsp;114 of 234&nbsp;</font></font></td></tr></table></td>
    <td width="18" align="center"><a href="./index115.html"><img src="./forward.gif" width="14" height="14" border="0" alt="Next page"></a></td>
    <td width="18" align="center"><a href="./index234.html"><img src="./end.gif" width="18" height="14" border="0" alt="End"></a></td>
    <td width="620">&nbsp;</td>
  </tr>
</table>
<p>
</div>
<nobr>
<div class=styleBackground114><img src="./background114.png" width="633" height="616" border="0" alt=""></div>
<div class=ts114p0><span class="ft0p114"> </span></div>
<div class=ts114p1><span class="ft0p114">Gravitybox Schedule Primer<span class="ft1p114"> </span></span></div>
<div class=ts114p3><span class="ft0p114">Page 112&nbsp; </span></div>
<div class=ts114p7><span class="ft2p114"> </span></div>
<div class=ts114p8><span class="ft3p114"> </span></div>
<div class=ts114p9><span class="ft4p114">1998&#45;2004 Gravitybox Software LLC<span class="ft3p114"> </span></span></div>
<div class=ts114p13><span class="ft5p114">be displayed, with an appointment. If a schedule has more than one category type, the </span></div>
<div class=ts114p14><span class="ft5p114">Categories collection of the schedule will not provide enough functionality. Categories </span></div>
<div class=ts114p15><span class="ft5p114">may be added to the ScheduleItems Categories collection. These would be category </span></div>
<div class=ts114p17><span class="ft5p114">names. These categories would be assigned to an appointment using the Categories </span></div>
<div class=ts114p18><span class="ft5p114">collection of each ScheduleItem. </span></div>
<div class=ts114p20><span class="ft5p114"> </span></div>
<div class=ts114p21><span class="ft5p114">This allows for as many categories as needed. A color&#45;coded bar will not be displayed </span></div>
<div class=ts114p25><span class="ft5p114">on each appointment for these categories. There could potentially be many of them and </span></div>
<div class=ts114p26><span class="ft5p114">there is no room on an appointment for an arbitrary number of bars. The bars however </span></div>
<div class=ts114p27><span class="ft5p114">will show up on the left margin of the schedule. This is accomplished by using the </span></div>
<div class=ts114p29><span class="ft5p114">AllowOtherCategories property. Set this property to true and all of the user&#45;defined </span></div>
<div class=ts114p32><span class="ft5p114">categories will be displayed in the left margin of the schedule. </span></div>
<div class=ts114p34><span class="ft5p114"> </span></div>
<div class=ts114p35><span class="ft5p114">The following code adds two custom categories. The first is a &#147;Shoe&#148; category and it </span></div>
<div class=ts114p36><span class="ft5p114">has three items in it. The second is a &#147;Music&#148; category. It also has three items in it. </span></div>
<div class=ts114p39><span class="ft5p114"> </span></div>
<div class=ts114p40><span class="ft6p114">Dim oCategory As CCategoryCol </span></div>
<div class=ts114p42><span class="ft6p114">&nbsp;&nbsp; </span></div>
<div class=ts114p44><span class="ft6p114">&nbsp; 'Add a category </span></div>
<div class=ts114p46><span class="ft6p114">&nbsp; Set oCategory = </span></div>
<div class=ts114p47><span class="ft6p114">Schedule1.ScheduleItems.Categories.Add(&#34;Shoes&#34;) </span></div>
<div class=ts114p49><span class="ft6p114">&nbsp; 'Add its items </span></div>
<div class=ts114p51><span class="ft6p114">&nbsp; Call oCategory.Add(&#34;Nike&#34;, vbBlue) </span></div>
<div class=ts114p53><span class="ft6p114">&nbsp; Call oCategory.Add(&#34;Doc Martin&#34;, vbYellow) </span></div>
<div class=ts114p55><span class="ft6p114">&nbsp; Call oCategory.Add(&#34;Addidas&#34;, vbRed) </span></div>
<div class=ts114p57><span class="ft6p114">&nbsp;&nbsp; </span></div>
<div class=ts114p59><span class="ft6p114">&nbsp; 'Add a category </span></div>
<div class=ts114p61><span class="ft6p114">&nbsp; Set oCategory = </span></div>
<div class=ts114p62><span class="ft6p114">Schedule1.ScheduleItems.Categories.Add(&#34;Music&#34;) </span></div>
<div class=ts114p64><span class="ft6p114">&nbsp; 'Add its items </span></div>
<div class=ts114p66><span class="ft6p114">&nbsp; Call oCategory.Add(&#34;Classical&#34;, vbBlue) </span></div>
<div class=ts114p68><span class="ft6p114">&nbsp; Call oCategory.Add(&#34;Rock&#34;, vbYellow) </span></div>
<div class=ts114p71><span class="ft6p114">&nbsp; Call oCategory.Add(&#34;New Age&#34;, vbRed) </span></div>
<div class=ts114p73><span class="ft6p114">&nbsp;&nbsp; </span></div>
<div class=ts114p75><span class="ft6p114">&nbsp; Set oCategory = Nothing<span class="ft5p114"> </span></span></div>
<div class=ts114p77><span class="ft5p114"> </span></div>
<div class=ts114p78><span class="ft5p114">This would setup the category information. Now some values may be assigned to the </span></div>
<div class=ts114p79><span class="ft5p114">ScheduleItems. </span></div>
<div class=ts114p81><span class="ft5p114"> </span></div>
<div class=ts114p82><span class="ft6p114">'Set the category values for the Appointment 1 </span></div>
<div class=ts114p84><span class="ft6p114">Schedule1.ScheduleItems(1).Categories(1).Name = &#34;Nike&#34; </span></div>
<div class=ts114p87><span class="ft6p114">Schedule1.ScheduleItems(1).Categories(2).Name = &#34;New Age&#34; </span></div>
<div class=ts114p89><span class="ft6p114"> </span></div>
<div class=ts114p90><span class="ft6p114">'Set the category values for the Appointment 2 </span></div>
<div class=ts114p92><span class="ft6p114">Schedule1.ScheduleItems(1).Categories(1).Name = &#34;Addidas&#34; </span></div>
<div class=ts114p94><span class="ft6p114">Schedule1.ScheduleItems(1).Categories(2).Name = &#34;Rock&#34;<span class="ft5p114"> </span></span></div>
<div class=ts114p96><span class="ft5p114"> </span></div>
<div class=styleNavBarBot>
<table width="836" border="0" cellspacing="2">
  <tr></tr>
  <tr>
    <td width="118"><a href="http://www.purepage.com"><img src="./smalllogo.gif" width="118" height="46" border="0" alt="http://www.purepage.com"></a></td>
    <td></td>
  </tr>
</table>
</div>

</td></tr></table>

</body>
</html>
